package com.zjuh.taofood.biz.bo;

import java.io.Serializable;
import java.util.List;

public class PagedResult<T> implements Serializable {
	
	private static final long serialVersionUID = -30022157698923522L;

	private List<T> results;
	
	private int lastPage;
	
	private int maxCount;

	public PagedResult() {
		super();
	}

	public PagedResult(List<T> results, int maxPage) {
		super();
		this.results = results;
		this.maxCount = maxPage;
	}

	public List<T> getResults() {
		return results;
	}

	public void setResults(List<T> results) {
		this.results = results;
	}

	public int getMaxCount() {
		return maxCount;
	}

	public void setMaxCount(int maxCount) {
		this.maxCount = maxCount;
	}

	public int getLastPage() {
		return lastPage;
	}

	public void setLastPage(int lastPage) {
		this.lastPage = lastPage;
	}

}
